package com.lyl.projectspringboot.dto;

import jakarta.validation.constraints.Pattern;
import lombok.Data;
import lombok.NonNull;

@Data
public class UserRegisterDto {
    @Pattern(regexp = "^1[3-9]\\d{8}$", message = "手机号格式错误")
    private Long userPhone;
    @NonNull
    private String userPWD;

}
